package com.vtuzx.kingdee.xqc_batch.component;

import com.vtuzx.batch.component.IVtuzxBatchComponent;
import com.vtuzx.core.bean.dto.VtuzxMap;
import com.vtuzx.core.utils.VtuzxUtil;
import com.vtuzx.kingdee.xqc_core.service.IVtuzxBasicService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component("sync_stock")
public class syncStock implements IVtuzxBatchComponent {
    /** Logger */
    private static final Logger _logger = LoggerFactory.getLogger(syncStock.class);

    @Autowired
    private IVtuzxBasicService basicService;

    @Override
    public void execute(VtuzxMap param) throws Exception {
        basicService.syncStock();
    }
}
